/*
 * @LastEditTime: 2023-02-20 16:32:16
 */
import { Mongoose } from "../DB/index";
// import { AlbumType } from "../Types/interface";

const NewAlbumSchema = new Mongoose.Schema({
    //唯一标识
    id: String,
    name: String,
    cover: String,
    auther: {
        id: String,
        name: String
    }
},
    { timestamps: true });

export const NewAlbum = Mongoose.model("newAlbum", NewAlbumSchema);


